package praktikumid.kaug;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowListener;

import javax.swing.JFrame;

public class YberAken extends JFrame {

	public YberAken() {
		addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent e) {
				System.out.println("mouse clicked");
			}
		});
	}
	
	public static void main(String[] args) {
		YberAken a = new YberAken();
		a.setVisible(true);
	}
}
